/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package robozanalib;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Random;

/**
 *
 * @author juan__000
 */
public class Robo implements Serializable{
    final private int CASH=1000;
    public Robo() {
        this.cash = CASH;
        Random r= new Random();
        //this.cordX =Integer.parseInt(r.ints(1, 840).toString());
       // this.cordY =Integer.parseInt(r.ints(1, 620).toString());
        this.vivo = true;
    }

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public int getCash() {
        return cash;
    }

    public void setCash(int cash) {
        this.cash = cash;
    }

    public int getCordX() {
        return cordX;
    }

    public void setCordX(int cordX) {
        this.cordX = cordX;
    }

    public int getCordY() {
        return cordY;
    }

    public void setCordY(int cordY) {
        this.cordY = cordY;
    }

    

    public boolean isVivo() {
        return vivo;
    }

    public void setVivo(boolean vivo) {
        this.vivo = vivo;
    }
    private String nome;
    private int cash;
    private int cordX;
    private int cordY;
   // private ArrayList<Bala> tiro=new ArrayList<>();
  //  private ArrayList<Ferramenta> up=new ArrayList<>();
    private boolean vivo;
}
